import dayjs from 'dayjs'

export function dateFormat (date: string, format = 'YYYY-MM-DD HH:MM') {
  return dayjs(date).format(format)
}
